//
//  HJStyle2Button.m
//  KaiChat
//
//  Created by lx on 2023/10/17.
//

#import "HJStyle2Button.h"

@implementation HJStyle2Button


- (instancetype)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
        self.addCornerRadius(10);
        [self setBackgroundImage:[UIImage imageWithColor:UIColorMake(0xF6F3FF)] forState:UIControlStateNormal];
        [self setBackgroundImage:[UIImage imageWithColor:UIColorMake(0xE4DCFF)] forState:UIControlStateHighlighted];
        [self setTitleColor:UIColor.tj_1D0061Color forState:UIControlStateNormal];
    }
    return self;
}

@end
